/*
 * @Author: kiwi
 * @Date: 2025-05-12 13:00:57
 * @LastEditTime: 2025-05-15 11:05:20
 * @LastEditors: tang
 * @FilePath: \kouhan-ui\src\router\modules\pageRouter.js
 * @Description: 门户路由
 */
import Home from '@/views/page/home'

export default [
  {
    path: '',
    component: Home,
    redirect: 'index',
    children: [
      {
        path: 'index',
        component: () => import('@/views/page/index/index'),
        name: 'Index',
        meta: { title: '首页', icon: 'dashboard', affix: true, whiteList: true },
      },
      {
        path: 'termsOfService',
        component: () => import('@/views/page/userQualification/termsOfService'),
        name: 'TermsOfService',
        meta: { title: '服务条款', icon: 'dashboard', affix: true, whiteList: true },
      },
      {
        path: 'privacyPolicy',
        component: () => import('@/views/page/userQualification/privacyPolicy'),
        name: 'PrivacyPolicy',
        meta: { title: '隐私政策', icon: 'dashboard', affix: true, whiteList: true },
      }
    ]
  }
]